<?php
/**
 * Created by PhpStorm.
 * User: root
 * Date: 9/4/14
 * Time: 2:46 PM
 */

namespace App\Modules\Ecommerce\Models;


class Category extends \Eloquent
{
    protected $table = "category";
    protected $guarded = ["id"];

    protected $softDelete = true;

    public function products()
    {
        return $this->hasMany('Product');
    }
} 